package LMR.rbac.vo;

public class Result {

    public boolean success;////是否成功
    public String message;////响应消息
    public Object data;////响应数据
    public static Result failure(String message){
        Result result = new Result();
        result.message = message;
        result.success = false;
        return result;
    }
    public static Result success(String message,Object data){
        Result result = new Result();
        result.data = data;
        result.message = message;
        result.success = true;
        return result;
    }
}
